package com.crm.common;

import java.io.Serializable;

import lombok.Data;

@Data
public class Response implements Serializable {
    private static final long serialVersionUID = 1634987384947915798L;

    public static final int SUCCESS = 200;

//    public static Long count;

    private int code;
    private String message;
    private Object data;

    public Response(){};

    public Response(Object data) {
        this(200, "成功", data);
    }

    public Response(int code , String message, Object data){
        this.code = code;
        this.message = message;
        this.data = data;
    }
}
